package com.b.controller;
import com.b.domain.Favorite;
import com.b.service.impl.FavoriteServiceImpl;
import org.springframework.web.bind.annotation.*;

import jakarta.annotation.Resource;
/**
* 收藏表(favorite)表控制层
*
* @author xxxxx
*/
@RestController
@RequestMapping("/favorite")
public class FavoriteController {
/**
* 服务对象
*/
@Resource
private FavoriteServiceImpl favoriteServiceImpl;

/**
* 通过主键查询单条数据
*
* @param id 主键
* @return 单条数据
*/


}
